package com.zhsq.zlc.service.role;

import java.util.List;

import com.zhsq.zlc.entity.RoleEntity;

public interface RoleService {

	List<RoleEntity> list(RoleEntity entity) throws Exception;

	RoleEntity getRoleById(RoleEntity entity) throws Exception;

	int count(RoleEntity entity) throws Exception;

	void add(RoleEntity entity) throws Exception;
	
	void edit(RoleEntity entity) throws Exception;
	
	void delete(int id) throws Exception;

}
